﻿/**
*┌──────────────────────────────────────────────────────────────┐
*│　描    述：结果通用key                                                    
*│　作    者：yilezhu                                             
*│　版    本：1.0                                                 
*│　创建时间：2018/12/29 17:30:51                             
*└──────────────────────────────────────────────────────────────┘
*┌──────────────────────────────────────────────────────────────┐
*│　命名空间： Czar.Cms.Admin.ResultModel                                 
*│　类    名： ResultCodeAddMsgKeys                                      
*└──────────────────────────────────────────────────────────────┘
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace BestTrader.Cms.ViewModels
{
    public class ResultCodeAddMsgKeys
    {
        #region 通用 100
        /// <summary>
        /// 通用成功编码
        /// </summary>
        public const int CommonObjectSuccessCode = 200;
        /// <summary>
        /// 通用操作成功信息
        /// </summary>
        public const string CommonObjectSuccessMsg = "操作成功";
        /// <summary>
        /// 通用Form验证失败错误码
        /// </summary>
        public const int CommonModelStateInvalidCode = 101;
        /// <summary>
        /// 通用Form验证失败错误码
        /// </summary>
        public const string CommonModelStateInvalidMsg = "请求数据校验失败";
        /// <summary>
        /// 数据为空的编码
        /// </summary>
        public const int CommonFailNoDataCode = 102;
        /// <summary>
        /// 数据为空的信息
        /// </summary>
        public const string CommonFailNoDataMsg = "数据不存在";
        /// <summary>
        /// 数据状态发生变化的编码
        /// </summary>
        public const int CommonDataStatusChangeCode = 103;
        /// <summary>
        /// 数据状态发生变化的信息
        /// </summary>
        public const string CommonDataStatusChangeMsg = "数据状态发生变化";

        /// <summary>
        /// 通用失败，系统异常错误码
        /// </summary>
        public const int CommonExceptionCode = 106;
        /// <summary>
        /// 通用失败，系统异常信息
        /// </summary>
        public const string CommonExceptionMsg = "系统异常";
        /// <summary>
        /// 重复数据
        /// </summary>
        public const int CommonExistPepeatDataCode = 107;
        /// <summary>
        /// 重复数据
        /// </summary>
        public const string CommonExistPepeatDataMsg = "存在相同的设置，请检查!";
        /// <summary>
        /// 
        /// </summary>
        public const int CommonParamsErrorCode = 108;

        /// <summary>
        /// 重复数据
        /// </summary>
        public const string CommonParamsErrorMsg = "缺少参数！请检查,必填项！";

        #endregion

        #region 登录 200
        /// <summary>
        /// 登录失败，系统异常错误码
        /// </summary>
        public const int LoginStateExceptionCode = 201;
        /// <summary>
        /// 登录失败，用户未审核信息
        /// </summary>
        public const string LoginStateExceptionMsg = "用户未审核";

        /// <summary>
        /// 登录失败，系统异常错误码
        /// </summary>
        public const int LoginUserExceptionCode = 202;
        /// <summary>
        /// 登录失败，用户未审核信息
        /// </summary>
        public const string LoginUserExceptionMsg = "用户不存在";

        /// <summary>
        /// 登录失败，系统异常错误码
        /// </summary>
        public const int LoginPasswordExceptionCode = 203;
        /// <summary>
        /// 登录失败，用户未审核信息
        /// </summary>
        public const string LoginPasswordExceptionMsg = "对不起，您输入的用户名或者密码错误";

        /// <summary>
        /// 登录失败，用户帐号被锁定
        /// </summary>
        public const int LoginIsLockExceptionCode = 204;
        /// <summary>
        /// 登录失败，用户帐号被锁定
        /// </summary>
        public const string LoginIsLockExceptionMsg = "用户帐号被锁定";

        /// <summary>
        /// 登录失败，系统异常错误码
        /// </summary>
        public const int LoginExceptionCode = 206;
        /// <summary>
        /// 登录失败，用户未审核信息
        /// </summary>
        public const string LoginExceptionMsg = "登录失败";

        /// <summary>
        /// 错误次数超过允许最大失败次数
        /// </summary>
        public const int SignInErrorTimesOverTimesCode = 207;
        /// <summary>
        /// 错误次数超过允许最大失败次数
        /// </summary>
        public const string SignInErrorTimesOverTimesMsg = "错误超过3次，请重新打开浏览器后再进行登录";

        /// <summary>
        /// 用户名或者密码错误
        /// </summary>
        public const int SignInPasswordOrUserNameErrorCode = 208;
        /// <summary>
        /// 用户名或者密码错误
        /// </summary>
        public const string SignInPasswordOrUserNameErrorMsg = "对不起，您输入的用户名或者密码错误";

        /// <summary>
        /// 用户被锁定
        /// </summary>
        public const int SignInUserLockedCode = 209;
        /// <summary>
        /// 用户被锁定
        /// </summary>
        public const string SignInUserLockedMsg = "对不起，该账号未视频回访，请联系管理员";
        /// <summary>
        /// 验证码错误
        /// </summary>
        public const int SignInCaptchaCodeErrorCode = 210;
        /// <summary>
        /// 验证码错误
        /// </summary>
        public const string SignInCaptchaCodeErrorMsg = "验证码输入有误";

        /// <summary>
        /// 未分配角色
        /// </summary>
        public const int SignInNoRoleErrorCode = 211;
        /// <summary>
        /// 未分配角色
        /// </summary>
        public const string SignInNoRoleErrorMsg = "暂未分配角色，不能进行登录，请联系管理员";

        /// <summary>
        /// 未分配角色
        /// </summary>
        public const int SignInNoAuthorizationErrorCode = 212;
        /// <summary>
        /// 未分配角色
        /// </summary>
        public const string SignInNoAuthorizationErrorMsg = "此电脑未授权，不能进行登录，请联系管理员";

        /// <summary>
        /// 未分配角色
        /// </summary>
        public const int OldPasswordErrorCode = 220;
        /// <summary>
        /// 未分配角色
        /// </summary>
        public const string OldPasswordErrorMsg = "用户初始密码不正确，请重试";
        /// <summary>
        /// 系统结算维护
        /// </summary>
        public const int SettlementMaintainErrorCode = 221;
        /// <summary>
        /// 系统结算维护
        /// </summary>
        public const string SettlementMaintainErrorMsg = "9:30 - 10点是系统结算时间，暂无法登录。";

        #endregion

        #region 注册 300
        /// <summary>
        /// 注册失败，系统异常错误码
        /// </summary>
        public const int RegisterExceptionCode = 301;
        /// <summary>
        /// 注册失败，系统异常信息
        /// </summary>
        public const string RegisterExceptionMsg = "用户名已存在";
        /// <summary>
        /// 注册失败，邮箱已存在
        /// </summary>
        public const int RegisterEmailExceptionCode = 302;
        /// <summary>
        /// 注册失败，邮箱已存在
        /// </summary>
        public const string RegisterEmailExceptionMsg = "邮箱已存在";

        /// <summary>
        /// 注册失败，密钥已失效
        /// </summary>
        public const int RegisterTokenExceptionCode = 303;
        /// <summary>
        /// 注册失败，密钥已失效
        /// </summary>
        public const string RegisterTokenExceptionMsg = "密钥已失效";

        /// <summary>
        /// 注册失败，推荐码无效
        /// </summary>
        public const int RegisterInvitationCodeExceptionCode = 304;
        /// <summary>
        /// 注册失败，推荐码无效
        /// </summary>
        public const string RegisterInvitationCodeExceptionMsg = "推荐码无效";

        /// <summary>
        /// 注册失败，只有管理员才能邀请代理
        /// </summary>
        public const int RegisterAgentExceptionCode = 305;
        /// <summary>
        /// 注册失败，只有管理员才能邀请代理
        /// </summary>
        public const string RegisterAgentExceptionMsg = "只有管理员才能邀请代理";

        /// <summary>
        /// 注册失败，直客不能邀请代理
        /// </summary>
        public const int RegisterTerminalExceptionCode = 306;
        /// <summary>
        /// 注册失败，直客不能邀请代理
        /// </summary>
        public const string RegisterTerminalExceptionMsg = "直客不能邀请代理";

        /// <summary>
        /// 注册失败，第三方注册异常
        /// </summary>
        public const int RmmfRegisterExceptionCode = 307;
        /// <summary>
        /// 注册失败，第三方注册异常
        /// </summary>
        public const string RmmfRegisterExceptionMsg = "第三方注册异常";
        /// <summary>
        /// 身份证已存在
        /// </summary>
        public const int RegisterCardIdExceptionCode = 308;

        /// <summary>
        /// 身份证已存在
        /// </summary>
        public const string RegisterCardIdExceptionMsg = "身份证已存在";



        #endregion

        #region 审核 400
        /// <summary>
        /// 审核失败，用户已审核
        /// </summary>
        public const int AuditExceptionCode = 401;
        /// <summary>
        /// 审核失败，用户已审核
        /// </summary>
        public const string AuditExceptionMsg = "用户已审核";

        /// <summary>
        /// 审核中提示信息
        /// </summary>
        public const int InAuditExceptionCode = 402;
        /// <summary>
        /// 审核中提示信息
        /// </summary>
        public const string InAuditExceptionMsg = "信息审核中";

        /// <summary>
        /// 用户未通过审核
        /// </summary>
        public const int AuditResultExceptionCode = 403;
        /// <summary>
        /// 用户未通过审核
        /// </summary>
        public const string AuditResultExceptionMsg = "资料不全";
        #endregion

        #region 汇率错误 500

        /// <summary>
        /// 没有获取到汇率规则
        /// </summary>
        public const int ExchangeRateFailNoDataCode = 501;
        /// <summary>
        /// 没有获取到汇率规则
        /// </summary>
        public const string ExchangeRateFailNoDataMsg = "没有获取到汇率规则,请联系管理员";

        /// <summary>
        /// 没有获取到汇率规则
        /// </summary>
        public const string ExchangeRateFailPepeatDataMsg = "该账户已存在相同的汇率设置!";
        #endregion

        #region 出入金 600

        /// <summary>
        /// 出入金 错误代码
        /// </summary>
        public const int InOutCoinErrorCode = 601;
        /// <summary>
        /// 出入金 错误信息
        /// </summary>
        public const string InOutCoinErrorMsg = "存在相同的设置，请检查!";


        /// <summary>
        /// 出入金 资金不足代码
        /// </summary>
        public const int InOutCoinMoneyInsufficientCode = 602;
        /// <summary>
        /// 出入金 资金不足信息
        /// </summary>
        public const string InOutCoinMoneyInsufficientMsg = "帐号资金不足，请检查!";

        /// <summary>
        /// 出入金 资金不足代码
        /// </summary>
        public const int InOutCoinRepeatOrderCode = 603;
        /// <summary>
        /// 出入金 资金不足信息
        /// </summary>
        public const string InOutCoinRepeatOrderMsg = "用户订单已存在!";

        #endregion

        #region 支付宝 900
        /// <summary>
        /// 支付宝异常
        /// </summary>
        public const int AlipayExceptionCode = 901;
        /// <summary>
        /// 支付宝异常
        /// </summary>
        public const string AlipayExceptionMsg = "支付宝付款忙，请10分钟后重试！";
        #endregion

        #region 美付宝 1000
        /// <summary>
        /// 美付宝异常
        /// </summary>
        public const int GomePayExceptionCode = 1001;
        /// <summary>
        /// 美付宝异常
        /// </summary>
        public const string GomePayExceptionMsg = "美付宝接口请求错误！";

        /// <summary>
        /// 登录过期
        /// </summary>
        public const int GomePayResetLoginCode = 1002;
        /// <summary>
        /// 
        /// </summary>
        public const string GomePayResetLoginMsg = "美付宝接口账户过期，请重新登录";
        /// <summary>
        /// 
        /// </summary>
        public const int GomePayBussinesErrorCode = 1003;
        /// <summary>
        /// 业务错误
        /// </summary>
        public const string GomePayBussinesErrorMsg = "该订单已支付，请勿重复支付";
        /// <summary>
        /// 支付密码错误
        /// </summary>

        public const int GomePayPasswordErrorCode = 1004;
        /// <summary>
        /// 支付密码错误
        /// </summary>
        public const string GomePayPasswordErrorMsg = "支付密码错误";
        /// <summary>
        /// 
        /// </summary>
        public const int GomePayBalanceErrorCode = 1005;
        /// <summary>
        /// 余额不足
        /// </summary>
        public const string GomePayBalanceErrorMsg = "余额不足！";
        /// <summary>
        /// 支付密码错误次数超过5次已经被锁定
        /// </summary>
        public const int GomePayAgainPwdErrorCode = 1006;
        /// <summary>
        /// 支付密码错误次数超过5次已经被锁定
        /// </summary>
        public const string GomePayAgainPwdErrorMsg = "支付密码错误次数超过5次已经被锁定,请您过24小时后再重新尝试！";
        /// <summary>
        /// 暂时不支持该银行卡
        /// </summary>
        public const int GomePayBankCardErrorCode = 1007;
        /// <summary>
        /// 暂时不支持该银行卡
        /// </summary>
        public const string GomePayBankCardErrorMsg = "暂时不支持该银行卡，请更换银行卡!";
        /// <summary>
        /// 
        /// </summary>
        public const string GomePayParamsErrorMsg = "请求参数错误:gomePayApi";
        /// <summary>
        /// 用户资金账户不足
        /// </summary>
        public const string GomePayRmmfAccountBalanceErrorMsg = "该用户的账户资金为负数，无法出金，请检查!";

        /// <summary>
        ///
        /// </summary>
        public const int GomePayCommonErrorCode = 1008;
        /// <summary>
        /// 
        /// </summary>

        public const string GomePayCommonErrorMsg = "付款失败,请核对账户信息！";



        #endregion


    }
}
